package com.spark.modules.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.spark.modules.system.entity.SysRolePermission;
import com.spark.modules.system.mapper.SysRolePermissionMapper;
import com.spark.modules.system.service.ISysRolePermissionService;
import org.springframework.stereotype.Service;

/**
 * 系统角色权限Service
 *
 * @author LYCHEE
 * @date 2025/02/18 10:17
 */
@Service
public class SysRolePermissionServiceImpl extends ServiceImpl<SysRolePermissionMapper, SysRolePermission> implements ISysRolePermissionService {

    /**
     * 删除角色权限
     *
     * @param roleId 角色ID
     */
    @Override
    public void delAll(String roleId) {
        baseMapper.delAll(roleId);
    }
}
